//
//  GYhomeBuyDetailViewModel.h
//  GYDemo
//
//  Created by Mrzhang on 2018/4/3.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"


@interface GYHomeBuyDetialProductListInfoModel : NSObject
@property (nonatomic, strong) NSString * areaname;
@property (nonatomic, strong) NSString * cityname;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, strong) NSString * createtime;
@property (nonatomic, assign) NSInteger down;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * picurl;
@property (nonatomic, assign) NSInteger price;
@property (nonatomic, strong) NSString * protypename;
@property (nonatomic, strong) NSString * provincename;
@property (nonatomic, assign) NSInteger salecount;
@property (nonatomic, assign) NSInteger setnum;
@property (nonatomic, strong) NSArray * specialproperty;
@property (nonatomic, strong) NSObject * unit;

@end


@interface GYhomeBuyDetailInfoModel : NSObject
@property (nonatomic, strong) NSString * address;
@property (nonatomic, strong) NSString * area;
@property (nonatomic, strong) NSString * areas;
@property (nonatomic, strong) NSString * buyaddress;
@property (nonatomic, assign) NSInteger buyid;
@property (nonatomic, strong) NSString * city;
@property (nonatomic, strong) NSString * companyname;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, assign) NSInteger createtime;
@property (nonatomic, strong) NSString * descriptionField;
@property (nonatomic, assign) NSInteger down;
@property (nonatomic, strong) NSString * endtime;
@property (nonatomic, assign) NSString* id;
@property (nonatomic, strong) NSString * linkmobile;
@property (nonatomic, strong) NSString * lname;
@property (nonatomic, assign) NSInteger maxprice;
@property (nonatomic, assign) NSInteger minprice;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, assign) NSInteger pid;
@property (nonatomic, assign) NSInteger protypeid;
@property (nonatomic, strong) NSString * protypename;
@property (nonatomic, strong) NSString * province;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, strong) NSArray * specialproperty;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, assign) NSInteger topid;
@property (nonatomic, assign) NSInteger topip;
@property (nonatomic, strong) NSString * unit;

@end

@interface GYhomeBuyDetailViewModel : GCBaseViewModel
@property(nonatomic,strong)GYhomeBuyDetailInfoModel* buyDetailInfoModel;
@property(nonatomic,strong)NSMutableArray* productData;
@property(nonatomic,assign)BOOL canAddMore;
@property(nonatomic,assign)BOOL isCollect;
-(void)requestDetai:(NSMutableDictionary*)para;
-(void)requestProductList:(NSMutableDictionary*)para;
-(void)requestCheckCollect:(NSMutableDictionary*)para;
@end
